﻿@page "/docs/helpers/enums/button"

<Seo Canonical="/docs/helpers/enums/button" Title="Enums: Button" Description="Learn to use and work with the Blazorise Button enums that help you to modify the buttons appearance and their behavior." />

<DocsPageTitle>
    Enums: Button
</DocsPageTitle>

<DocsPageSection>
    <DocsPageSectionHeader Title="ButtonsRole">
        <Paragraph>Buttons group behaviour.</Paragraph>
        <UnorderedList>
            <UnorderedListItem><Code>ButtonsRole.Addons</Code> Display buttons as addons.</UnorderedListItem>
            <UnorderedListItem><Code>ButtonsRole.Toolbar</Code> Display buttons as toolbar buttons.</UnorderedListItem>
        </UnorderedList>
    </DocsPageSectionHeader>
</DocsPageSection>

<DocsPageSection>
    <DocsPageSectionHeader Title="ButtonType">
        <Paragraph>Defines the button type and behaviour.</Paragraph>
        <UnorderedList>
            <UnorderedListItem><Code>ButtonType.Button</Code> The button is a clickable button.</UnorderedListItem>
            <UnorderedListItem><Code>ButtonType.Submit</Code> The button is a submit button (submits form-data).</UnorderedListItem>
            <UnorderedListItem><Code>ButtonType.Reset</Code> The button is a reset button (resets the form-data to its initial values).</UnorderedListItem>
            <UnorderedListItem><Code>ButtonType.Link</Code> The button will be rendered as a link but will appear as a regular button.</UnorderedListItem>
        </UnorderedList>
    </DocsPageSectionHeader>
</DocsPageSection>